package com.xzl.org.learning_situation_analysis.service;

import com.github.pagehelper.PageInfo;
import com.xzl.org.learning_situation_analysis.entity.User;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author 夏智力
 * @FileName UserService
 * @date 2022/4/12 17:18
 * @Software: IntelliJ IDEA
 */
public interface UserService {

    User selectByUserName(String userName);


    int insertUser(User user);

    PageInfo<User> selectCurrentPageUser(int currentPage, int pageSize);


    //修改密码
    int updatePassword(int id, String password);


}
